//
//  WGQAlbumDateHeaderModel.m
//  meiang_edu
//
//  Created by gq w on 2018/10/2.
//  Copyright © 2018 com.meiang.meiang_edu. All rights reserved.
//

#import "WGQAlbumDateHeaderModel.h"

@interface WGQAlbumDateHeaderModel ()

@end

@implementation WGQAlbumDateHeaderModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init])
    {
        self.dateStr = dict[@"time"];
        self.bottomDateStr = dict[@"date"];
        self.topDateStr = [NSString stringWithFormat:@"%ld",(long)[[self.dateStr substringFromIndex:8] integerValue]];
    }
    return self;
}

@end
